/*
 * @Author: your name
 * @Date: 2021-05-18 23:23:36
 * @LastEditTime: 2021-05-18 23:38:26
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \mylib\src\lib.rs
 */
pub mod animal;

#[cfg(test)]
mod tests {
    use crate::animal::cat;
    //use animal::*;

    #[test]
    fn it_works() {
        assert_eq!(2 + 2, 4);
    }
    #[test]
    fn use_cat() {
        //cat::hello();
        assert_eq!(true, cat::is_cat());
    }

    #[test]
    fn use_dog() {
        assert_eq!(true, crate::animal::dog::is_dog());
    }
}
